package cn.com.nes.site.service.workOrder.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 工单撤回记录DTO
 */
@Data
public class WorkOrderCancelDetailDTO {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("工单撤销记录主表id")
    private Long recordId;

    @ApiModelProperty("撤销的工单id")
    private Long workOrderId;

    @ApiModelProperty("撤销的工单名称")
    private String workOrderName;

    @ApiModelProperty("是否撤销成功")
    private Boolean cancelSuccess;

    @ApiModelProperty("撤销失败原因")
    private String faultMessage;

    @ApiModelProperty("删除标识")
    private Boolean deleted;

    @ApiModelProperty("创建人ID")
    private Long gmtCreateId;

    @ApiModelProperty("创建时间")
    private Date gmtCreate;

    @ApiModelProperty("修改人ID")
    private Long gmtModifiedId;

    @ApiModelProperty("修改时间")
    private Date gmtModified;

    @ApiModelProperty("撤销前的工单状态")
    private String status;

    @ApiModelProperty("撤销前的工单状态名称")
    private String statusName;
}
